package com.jijuxie.framework.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "baidu.map")
public class BaiduMapConfig {

    /**
     * 应用AK
     */
    private String ak;

    /**
     * 地理编码API
     */
    private String geocoderUrl = "http://api.map.baidu.com/geocoding/v3/";

    /**
     * 周边搜索API
     */
    private String searchUrl = "http://api.map.baidu.com/place/v2/search";
}
